package org.gd.hellojaxb.privat24.ekb.models;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "doc")
@XmlAccessorType(XmlAccessType.NONE)
public class EKBRequestUserInfo {

    @XmlElement(name = "r")
    @SuppressWarnings("unused")
    private EKBRequestUserInfoRequest request;

    @SuppressWarnings("unused")
    private EKBRequestUserInfo() {
    }

    public EKBRequestUserInfo(String sid, String ekbId, String userInn, String userPhone) {
        request = new EKBRequestUserInfoRequest(sid, ekbId, userInn, userPhone);
    }

    public EKBRequestUserInfoRequest getRequest() {
        return request;
    }

    public void setRequest(EKBRequestUserInfoRequest request) {
        this.request = request;
    }
}
